package com.zmn.oms.business.interfaces.log;

import com.zmn.oms.common.dto.OmsBaseOperator;
import com.zmn.oms.model.entity.log.OrderLog;
import com.zmn.oms.model.entity.work.OrderWork;
import org.springframework.scheduling.annotation.Async;

/**
 * 订单日志节点通知
 * 订单各节点日志 通知给其他系统
 * 暂不考虑使用广播方式 点对点
* @author: LuJia
* @version: v1.0
* @since: 2020/4/16 16:39
**/
public interface OrderLogNodeNoticeBService {

    /**
     * 通知服务
     * @param orderLog
     * @param dbOrderWork
     * @param proceed
     */
    @Async
    void notice(OrderLog orderLog, OrderWork dbOrderWork, OmsBaseOperator omsBaseOperator, Object proceed);
}
